package com.wl.api.model.business;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 *
 * 线上客户表
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "customer_user")
@Builder
public class CustomerUser implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 客户数据表 */
	@TableId(value = "cust_id", type = IdType.AUTO)
	private Long custId;

	/** 账户名称 */
	private String username;

	/** 客户名称 */
	private String realname;

	/**  */
	private String password;

	@TableField("grade_id")
	private Long gradeId;
	
	/**  */
	private Integer age;

	/**  */
	private String sex;

	/**  */
	private String phone;

	/**  */
	@TableField(value = "head_imgs")
	private String headImgs;

	/**  */
	private String email;

	/**  */
	private String address;

	/** 国家ID */
	@TableField(value = "country_id")
	private Integer countryId;

	/** en/cn */
	private String language;

	/**  */
	private Integer status;

	/** 0:可用, 1:删除 */
	@TableField(value = "is_deleted")
	private Integer isDeleted;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;
	
	//private String gradeName;

	@TableField(value = "update_user_id")
	private Long updateUserId;
}
